package com.nit.lab.vote.entity.basic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SubjectEntity {
    private Long subjectId;
    private String subjectName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date gmtCreate;

    public SubjectEntity() {
    }

    public SubjectEntity(Long subjectId, String subjectName, Date gmtCreate) {
        this.subjectId = subjectId;
        this.subjectName = subjectName;
        this.gmtCreate = gmtCreate;
    }

    public Long getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Long subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
